<?php
/**
 * The following variables are available in this template:
 * - $this: the BootCrudCode object
 */
/** @var AweCrudCode $this */
?>
<?php echo "<?php" . PHP_EOL ?>
/** @var <?php echo $this->controllerClass; ?> $this */
/** @var AweActiveForm $form */
<?php echo "\$form = \$this->beginWidget('bootstrap.widgets.TbActiveForm', array(
	'action' => Yii::app()->createUrl(\$this->route),
	'method' => 'get',
)); ?>\n"
;
?>
<div class="row-fluid">
    <div class="span-12">
        <div class="well blue">
            <div class="well-header">
                <h5>Form elements</h5>
                <ul>
                    <li class="color_pick"><a href="#"><i class="icon-th"></i></a>
                        <ul>
                            <li><a class="blue set_color" href="#"></a></li>
                            <li><a class="light_blue set_color" href="#"></a></li>
                            <li><a class="grey set_color" href="#"></a></li>
                            <li><a class="pink set_color" href="#"></a></li>
                            <li><a class="red set_color" href="#"></a></li>
                            <li><a class="orange set_color" href="#"></a></li>
                            <li><a class="yellow set_color" href="#"></a></li>
                            <li><a class="green set_color" href="#"></a></li>
                            <li><a class="dark_green set_color" href="#"></a></li>
                            <li><a class="turq set_color" href="#"></a></li>
                            <li><a class="dark_turq set_color" href="#"></a></li>
                            <li><a class="purple set_color" href="#"></a></li>
                            <li><a class="violet set_color" href="#"></a></li>
                            <li><a class="dark_blue set_color" href="#"></a></li>
                            <li><a class="dark_red set_color" href="#"></a></li>
                            <li><a class="brown set_color" href="#"></a></li>
                            <li><a class="black set_color" href="#"></a></li>
                        </ul>
                    </li>
                </ul>
            </div>
            <div class="well-content no-search">
                <?php foreach ($this->tableSchema->columns as $column): ?>
                    <?php
                    $field = $this->generateInputField($this->modelClass, $column);
                    if (strpos($field, 'password') !== false) {
                        continue;
                    }
                    ?>
                    <?php echo "<?php echo " . $this->generateActiveField($this->modelClass, $column) . "; ?>\n"; ?>

                    <?php endforeach; ?>
                <div class="form-actions">
                    <?php echo "<?php \$this->widget('bootstrap.widgets.TbButton', array(
			'type' => 'primary',
			'label' => Yii::t('AweCrud.app', 'Search'),
		)); ?>\n"; ?>
                </div>         
            </div>
        </div>
    </div>
</div>
<?php echo "<?php \$this->endWidget(); ?>\n"; ?>